<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html:errors property="loginWrong" />

<fieldset id="login_fieldset">
	<legend><bean:message key="login.legend" /></legend>
	<html:form action="/login" method="post" styleId="login_form">
		<html:hidden property="cmd" value="login" />

		<p>
			<label for="login" accesskey="L"><bean:message key="login.login" /> :</label>
			<html:text styleId="login" property="login" />
		</p>

		<p>
			<label for="password" accesskey="L"><bean:message key="login.password" /> :</label>
			<html:password styleId="password" property="password" />
		</p>

		<p id="login_submit">
			<html:submit><bean:message key="login.validate" /></html:submit>
			<html:reset><bean:message key="login.cancel" /></html:reset>
        </p>
        
        <p><html:link page="/register.do?cmd=form"><bean:message key="login.register"/></html:link></p>
	</html:form>

</fieldset>